﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using LumenLiquid.Database.Entities;

namespace LumenLiquid.Database.Mappings
{
	internal sealed class SettingMap : ClassMap<Setting>
	{
		public SettingMap()
		{
			LazyLoad();

			Table("Settings");

			Id(x => x.Id);
			Map(x => x.SettingName).Not.Nullable();
			Map(x => x.SettingValue);
		}
	}
}
